package aspect

import (
	"github.com/astaxie/beego/logs"
	"github.com/gin-gonic/gin"
	"time"
)

func UserHandlerFunc() gin.HandlerFunc {
	return func(context *gin.Context) {
		logs.Info("UserController begin time={%v}", time.Now())
		context.Next()
	}
}
